<html><head><title>NewPrinterPage</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">NewPrinterPage()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>NewPrinterPage</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Creates a new empty page. The previous page is sent to the printer and can't be modified anymore. It has to be called inside a 
<a href="../2ddrawing/startdrawing.html">StartDrawing()</a>/<a href="../2ddrawing/stopdrawing.html">StopDrawing()</a> block. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>


<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">If</font></b> <font color="#3A3966">PrintRequester</font>()
    <b><font color="#3A3966">If</font></b> <font color="#3A3966">StartPrinting</font>(&quot;Two sheets&quot;)
      <b><font color="#3A3966">If</font></b> <font color="#3A3966">StartDrawing</font>(<font color="#3A3966">PrinterOutput</font>())
<font color="#3A3966">        DrawingMode</font>(<font color="#924B72">#PB_2DDrawing_Transparent</font>)
<font color="#3A3966">        DrawText</font>(10, 10, &quot;First page !&quot;,<font color="#3A3966"> RGB</font>(0, 0, 0))
      
        <font color="#3A3966">; Tell the printer to start a new page</font>
<font color="#3A3966">        NewPrinterPage</font>()
        
<font color="#3A3966">        DrawText</font>(10, 10, &quot;Second page !&quot;,<font color="#3A3966"> RGB</font>(0, 0, 0))
      
<font color="#3A3966">        StopDrawing</font>()
      <b><font color="#3A3966">EndIf</font></b>
      
<font color="#3A3966">      StopPrinting</font>()
    <b><font color="#3A3966">EndIf</font></b>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=defaultprinter.html>DefaultPrinter()</a> - <a href="index.html">Printer Index</a> - <a href="printrequester.html">PrintRequester()</a> -><br><br>

</body></html>